package com.example.exam.service;

import com.example.exam.pojo.entity.TUser;
import com.example.exam.pojo.vo.UserVO.KeyValue;
import com.example.exam.pojo.vo.UserVO.UserPageVO;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author LENOVO
 * @description TODO
 * @date 2023/2/3 17:39
 */
public interface IUserService {
  PageInfo<TUser> userPage(UserPageVO model);
  TUser getUserById(Integer id);
  TUser getUserByUserName(String name);
  int insertByFilter(TUser tUser);
  int updateByIdFilter(TUser tUser);
  List<KeyValue>  selectByUserName(String name);
}
